#ifndef TYPEFRAME_H
#define TYPEFRAME_H

#include <QFrame>
#include <QPushButton>

namespace Ui {
    class TypeFrame;
}

class TypeFramePrivate;

class TypeFrame : public QFrame
{
    Q_OBJECT

    friend class TypeFramePrivate;

public:
    explicit TypeFrame(QWidget *parent = 0);
    ~TypeFrame();

    QPushButton *changeToHandWriting() const;

signals:
    void sentMessage(const QVariant &mesg);

protected:
    void changeEvent(QEvent *e);

private:
    Ui::TypeFrame * const ui;
    TypeFramePrivate * const d;
};

#endif // TYPEFRAME_H
